<div class="ml left">
	<?php 
		if(isset($_SESSION[Q::ini('acl_session_key')]))
			$this->_element('accountinfo');
		else
			$this->_element('login');
	?>
	<div style="margin-top:10px">
	<?php if (!empty($user)) {?>
<!--		<iframe src="http://panel.gwallet.com/network-node/impression?appId=061a1db9f1e64901bea74ef7601496c4&userId=<?php echo $user['id']?>&panelId=5&trackId=lllleft" frameborder="0" width="215" height="525" scrolling="no"></iframe> -->
<!--<script type="text/javascript" src="http://assets.tp-cdn.com/static3/js/api/payment_overlay.js"></script>
<a href="#" onclick="earn();return false;"><img src="<?php echo $img_url; ?>dealspot.png"></a>
<script type="text/javascript">
  function earn() {
    TRIALPAY.social.show_overlay('660e939e11255cded59228b368cdde6c', <?php echo "'uid".$user['id']."'";?>, { 'dealspot':1, 'm':"mm" });
  }
</script> -->
<!--<a href="http://www.peanutlabs.com/publisher/promo/?publisherId=4684&oid=184158&endUserId=<?php echo $user['id'];?>" target="_blank"><img src="<?php echo $img_url;?>dealspot.png"></a>-->
<a href="<?php echo url('offer/morecredit');?>"><img src="<?php echo $img_url;?>dealspot.png"></a>
<!--<a href="http://www.peanutlabs.com/publisher/plOffer.php?publisherId=4684&oid=210494&endUserId=<?php echo $user['id'].'-4684-'.substr(md5($user['id'].'4684'.'7a023e4a695dd2735bdd3d407b575fea'), 0, 10 );?>" target="_blank">--><!--<img src="<?php echo $img_url;?>dealspot.png">--><!--<img src="http://ii.peanutlabs.com/CD_Thanksgiving_Sweeps_208x242.jpg"></a>-->
<!-- <iframe src="http://ultraofferwall.com/premium_banner?k=73004139175db4131f42aad2199cd0d1&uid=<?php echo $user['id'];?>&kind=300x250" frameborder="0" scrolling="no" width="215" height="250"></iframe> -->
	<?php } ?>
	</div>
	<div class="latest">
		<div class="clear" style="height:78px;"></div>
		<div class="list">
			<?php 
					foreach($site['activities'] as $activity)
					{
						echo '<div class="item" style="height: 35px">' .$activity['who'] . ' - ' . $activity['what'] . ' - ' . Util::getTimeElapsed($activity['time']) . '</div>';
					}
			?>
		</div>
	</div>
</div>
